package com.example.mybatisplusdemo.model.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
@ApiModel("用户数据")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class UserProfileDTO {
    @ApiModelProperty("用户ID")
    private Long id;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("电子邮箱")
    private String email;

    @ApiModelProperty("手机号码")
    private String phone;

    @ApiModelProperty("性别")
    private String gender;

    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("偏好价格区间")
    private String preferredPriceRange;

    @ApiModelProperty("偏好出发时间")
    private String preferredDepartureTime;

    @ApiModelProperty("偏好航空公司")
    private String preferredAirline;

    @ApiModelProperty("用户偏好")
    private Map<String, String> preferences;

    @ApiModelProperty("旅行历史")
    private List<String> travelHistory;

    @ApiModelProperty("收藏机场")
    private List<String> favoriteAirports;

    @ApiModelProperty("用户标签")
    private List<String> userTags;
}